<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/npm.js"></script>
</head>
<body>
	<table class="table">
		<tr class="btn-danger">
			<td colspan="7" style="text-align: center; font-size: 30px;">人员详情表</td>
		</tr>
		<tr class="btn-success">
			<th>编号</th>
			<th>姓名</th>
			<th>职务</th>
			<th>入职日期</th>
			<th>薪水</th>
			<th>所在部门</th>
			<th>操作</th>
		</tr>
		<s:iterator var="Emp" value="#attr.list">
			<tr class="btn-info">
				<td><s:property value="#Emp.id" /></td>
				<td><s:property value="#Emp.name" /></td>
				<td><s:property value="#Emp.job" /></td>
				<td><s:property value="#Emp.hiredate" /></td>
				<td><s:property value="#Emp.sal" /></td>
				<td><s:property value="#Emp.dept.deptname" /></td>
				<td><a href="#" class="btn btn-default">删除</a><a href="#" class="btn btn-primary">修改</a></td>

			</tr>
		</s:iterator>
	</table>
</body>
</html>